package com.wanmait.baohan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

@TableName(value = "work_template_content")
public class WorkTemplateContent implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 模板id
     */
    @TableField(value = "work_template_id")
    private Integer workTemplateId;


    /**
     * 时间
     */
    @TableField(value = "time")
    private String time;

    /**
     * 任务内容
     */

    private String content;



    /**
     * 角色id
     */
    @TableField(value = "role_id")
    private Integer roleId;
    @TableField(exist = false)
    private String roleName;

    /**
     * 工作量
     */
    @TableField(value = "workload")
    private Double workload;

    /**
     * 层级
     */
    @TableField(value = "level")
    private String level;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    private static final long serialVersionUID = 1L;

    public static final String COL_WORK_TEMPLATE_ID = "work_template_id";

    public static final String COL_DATE = "date";

    public static final String COL_REFERENCE_DATE = "reference_date";

    public static final String COL_TIME = "time";

    public static final String COL_CONTENT_ID = "content_id";

    public static final String COL_WORK_LOG = "work_log";

    public static final String COL_ROLE_ID = "role_id";

    public static final String COL_WORKLOAD = "workload";

    public static final String COL_LEVEL = "level";

    public static final String COL_REMARK = "remark";

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWorkTemplateId() {
        return workTemplateId;
    }

    public void setWorkTemplateId(Integer workTemplateId) {
        this.workTemplateId = workTemplateId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Double getWorkload() {
        return workload;
    }

    public void setWorkload(Double workload) {
        this.workload = workload;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "WorkTemplateContent{" +
                "id=" + id +
                ", workTemplateId=" + workTemplateId +
                ", time=" + time +
                ", content='" + content + '\'' +
                ", roleId='" + roleId + '\'' +
                ", roleName='" + roleName + '\'' +
                ", workload=" + workload +
                ", level='" + level + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}